package ie.dkit.semanticPhotoWeb.client.dtos;

import java.io.Serializable;

/**
 * @author Sebastian Ruehl
 * 
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 * Place, Suite 330, Boston, MA 02111-1307 USA
 */
public class ImageDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 9153943060190458635L;

	/**
	 * Information about the corresponding Album
	 */
	public String albumName;

	/**
	 * Information about the corresponding Album
	 */
	public String albumFeedHref;

	/**
	 * The title of the Image
	 */
	public String imageTitle;

	/**
	 * The summary of the Image
	 */
	public String imageSummary;

	/**
	 * The inmage url for download
	 */
	public String imageUrl;

	/**
	 * General picture informations
	 */
	public String exifData;

	/**
	 * The Thumbnails
	 */
	public String[] thumbnails;

	/**
	 * The imageID of the Image which acts as a identifier for the Database
	 */
	public String imageID;

	/**
	 * FeedRef for delete etc.
	 */
	public String feedRef;

	/**
	 * Indicates that a image is editable
	 */
	public boolean editable;

	/**
	 * 
	 * 
	 */
	public ImageDTO() {
		super();
	}

	public ImageDTO(String[] thumbnailUrl, String imageUrl, String imageID,
			String imageTitle, String imageSummary, String feedRef,
			boolean editable, String exifData) {
		thumbnails = thumbnailUrl;
		this.imageUrl = imageUrl;
		this.imageID = imageID;
		this.imageTitle = imageTitle;
		this.imageSummary = imageSummary;
		this.feedRef = feedRef;
		this.exifData = exifData;
		this.editable = editable;
	}
}
